package com.zx.cloud.stock.service;

import com.zx.cloud.stock.model.StockTbl;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhaoxuan
 * @since 2021-12-22
 */
public interface StockTblService extends IService<StockTbl> {

    /**
     * 减库存
     *
     * @param commodityCode
     * @param count
     */
    void deduct(String commodityCode, int count);

}
